﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace WebApplication1.Controllers
{
    public class ErrorController : Controller
    {
        // GET: Error
        public ActionResult Index()
        {
            Exception e = new Exception("未知的 Controller 或者 Action 名称");
            HandleErrorInfo eInfo = new HandleErrorInfo(e, "未知", "未知");
            return View("Error",eInfo);
        }
    }
}